SftTree/OCX 7.0

SftTreeItems.LastShown Property

Softel vdm, Inc.

Returns the index of the last visible item in the tree control.

Syntax       

Get

VB.NET

ItemIndex = object.LastShown  As Integer

VB

ItemIndex = object.LastShown  As Long

C#.NET

int ItemIndex = object.LastShown;

VC++

long ItemIndex = object->LastShown;
long ItemIndex = object->GetLastShown();

C

HRESULT object->get_LastShown(long* ItemIndex);

Delphi

ItemIndex := object.LastShown   : Integer;

object

A SftTreeItems object.

ItemIndex

Returns the index of the last visible item in the tree control.  -1 is returned, if no item is found.

Comments

The LastShown property returns the index of the last visible item in the tree control.

Use Items.FirstShown, Item.NextShown, Item.PrevShown to retrieve information about item visibility.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com